set list=tarray tclass tconstant tdirective tdirectivepkg tenum tfunction tinheritance tmodule tnamespace tpeer tvararg tvariable
(for %%a in (%list%) do (
    echo %%a
    cmd /c ..\bin\Debug-windows-x86_64\tolua++.exe  -n %%a -o %%a_wrap.cpp %%a.pkg
    @REM cmd /c ..\bin\Release-windows-x86_64\tolua++.exe  -n %%a -o %%a_wrap.cpp %%a.pkg
))

pause